package com.beeantec.jnrerc.modules.comment.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.beeantec.jnrerc.core.api.dto.PagingReqDTO;
import com.beeantec.jnrerc.dto.CommentVo;
import com.beeantec.jnrerc.dto.request.CommentListReqDTO;
import com.beeantec.jnrerc.entity.Comment;

import java.util.List;
import java.util.Map;

public interface CommentService extends IService<Comment> {

    List<Long> listIdsExcludeFail(Comment comment);

    Integer countExcludeFail(Comment comment);
    IPage<Comment> page(Integer page,Integer size,Integer contentId,Integer type);
    Boolean add(Comment comment) ;

    Map<String, Integer> count(String answerId, Integer answerType);
}
